<link rel="stylesheet" media="screen" type="text/css" title="fiche_Css" href="_css/GestCli.css" />
<div id="main">
 	<div id="main_title">
 	Offres Propos&eacute;es
 	 </div>
 	 <?php if (isset($tmp)) { ?>
 	<table>
 	<tr>
 	<th>Id commande</th><th>GLN Client</th><th>GLN Entrepot</th><th>Date fin preparation</th><th>Date fin de commande</th><th>Etat commande</th><th>Prix livraison</th><th>Offre proposee</th><th>Etat Offre</th>
 	</tr>
 	<?php foreach($array AS $res) { ?>
 	<tr>
 		<td><?php echo $res['Id_Commande']; ?></td>
 		<td><?php echo $res['GLN_Client_Liv']; ?></td>
 		<td><?php echo $res['GLN_Entrepot']; ?></td>
 		<td><?php echo $res['Date_fin']; ?></td>
 		<td><?php echo $res['Date_fin_Liv']; ?></td>
 		<td><?php echo $res['Etat']; ?></td>
 		<td><?php echo $res['Prix']; ?></td>
 		<td><?php echo $res['Prix_offre']; ?></td>
 		<td><?php echo $res['Statut']; if ($res['Statut'] == 'Propos&eacute;e'){?> <a href="<?php echo ABS_PATH.ROOT; ?>?page=Transporteur/OffresPasse&fct=Transporteur/OffresPasse&idcom=<?php echo $res['Id_Commande']; ?>&do=delete"><img src="_gfx/icons/cross.png"  alt="404" border="0" title="Supprimer"/></a> <?php } ?></td>
 		</tr>
 		<?php } ?>
 	</table>
 	<?php }
 	else { ?>
 	<br />
 	<center>Il n'y a pas encore d'offres effectuees</center>
	<?php } ?>
</div>